package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Dinner;
import com.java2207.group1.vo.Breakfast.BarVo;
import com.java2207.group1.vo.Breakfast.PieVo;

import java.util.List;
import java.util.Map;

public interface DinnerMapper {
    int addDinner(Dinner dinner);

    int deleteDinner(Integer id);

    int updateDinner(Dinner dinner);

    List<Dinner> selectByExample(Map<String, Object> params);

    List<BarVo> nameBarData();

    List<PieVo> namePieData();
}
